﻿$controls/header()$
$controls/navigation()$

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="180" valign="top">$controls/drawer()$ </td>
<td width="5"></td>
<td valign="top">
$controls/tableheader(
  Caption="文章列表",
  ElementId="articlelist"
  )$
<table cellspacing="0" class="inner">
<tr class="forumno">
<td>
<form name="SearchForm" id="SearchForm" method="GET">
<input type="hidden" name="invoke" value="list" />
<select name="categoryid" id="categoryid" style="width:120px">
<option selected="selected" value="">所有分类</option> 
$Categories:{c|
<option value="$c.Id$">$c.CategoryName$</option>
}$
</select>
<select name="column" id="column" style="width:120px">
<option selected="selected" value="issuetime">按发表日期</option>
<option value="views">按访问量</option>
<option value="comments">按评论量</option>
</select>
<select name="sort" id="sort" style="width:70px">
<option selected="selected" value="desc">倒序</option>
<option value="asc">顺序</option>
</select>
&nbsp;关键字:
<input name="keyname" type="text" maxlength="20" id="keyname" style="width:90px;" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" value="$KEYNAME$" />
<input type="submit" class="button" value=" 检索 " />
</form></td>
</tr>
</table>
<form method="POST" name="ArticleForm" id="ArticleForm">
<table width="100%" cellspacing="0" class="inner">
<tr class="category forumtd" style="font-weight:bold; text-align:center">
  	<td width="35">删？</td>
    <td align="left">文章标题</td>
    <td width="200" align="center">发表日期</td>
    <td width="50" align="left">访问</td>
    <td width="50" align="left">评论</td>
    <td width="50" align="left">&nbsp;</td>
    </tr>
	$Articles:{a|
	<tr class="forumtd">
	<td><input type="checkbox" class="smallbox" name="checkedids" value="$a.Id$" /></td>
    <td><a href="blog.aspx?articleid=$a.Id$" target="_blank">$a.Title$</a></td>
    <td>$a.IssueTime$</td>
    <td>$a.Views$</td>
    <td>$a.Comments$</td>
    <td><a href="blog_cp.aspx?invoke=edit&id=$a.Id$">编辑</a></td>
    </tr>
	}$
</table>

  $controls/tablefooter()$
   $Pager$<input name="submit" type="submit" class="button" value="删除所选" onclick="return confirm('确定要删除吗')" />
</form>
  </td>
</tr>
</table>
<script>
checkbyvalue(document.forms["SearchForm"].categoryid, '$CID$');
checkbyvalue(document.forms["SearchForm"].column, '$COLUMN$');
checkbyvalue(document.forms["SearchForm"].sort, '$SORT$'); 
</script>
$controls/footer()$